﻿<UserControl x:Class="jQueryBuddy.UserControls.SnippetDocument"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:avalonEdit="clr-namespace:ICSharpCode.AvalonEdit;assembly=ICSharpCode.AvalonEdit">

    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*" />
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition Width="*" />
        </Grid.ColumnDefinitions>
        <avalonEdit:TextEditor Name="txtHtml" Grid.Column="0" FontFamily="Consolas" FontSize="10pt">
            <avalonEdit:TextEditor.ShowLineNumbers>true</avalonEdit:TextEditor.ShowLineNumbers>
            <avalonEdit:TextEditor.SyntaxHighlighting>HTML</avalonEdit:TextEditor.SyntaxHighlighting>
        </avalonEdit:TextEditor>
        <GridSplitter Grid.Column="1" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"  ResizeBehavior="PreviousAndNext" Width="5" />
        <avalonEdit:TextEditor Name="txtJavascript" Grid.Column="2" FontFamily="Consolas" FontSize="10pt">
            <avalonEdit:TextEditor.ShowLineNumbers>true</avalonEdit:TextEditor.ShowLineNumbers>
            <avalonEdit:TextEditor.SyntaxHighlighting>JavaScript</avalonEdit:TextEditor.SyntaxHighlighting>
        </avalonEdit:TextEditor>
    </Grid>
</UserControl>
